package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试题管理对象 questions
 *
 * @author ruoyi
 * @date 2021-10-12
 */
public class Questions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 年级 */
    @Excel(name = "年级")
    private String levelName;

    /** 学科 */
    @Excel(name = "学科")
    private String eduName;

    /** 试题类型 */
    @Excel(name = "试题类型")
    private String questionType;

    /** 章节 */
    @Excel(name = "章节")
    private String chapter;

    /** 节数 */
    @Excel(name = "节数")
    private String festival;

    /** 试题内容 模糊搜索使用 */
    @Excel(name = "试题内容 模糊搜索使用")
    private String content;

    /** 是否删除 0 不删除 1删除 */
    private String del;

    /** 创建用户 */
    private Long userId;

    /** 试题文件路径 */
    private String filePath;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setLevelName(String levelName)
    {
        this.levelName = levelName;
    }

    public String getLevelName()
    {
        return levelName;
    }
    public void setEduName(String eduName)
    {
        this.eduName = eduName;
    }

    public String getEduName()
    {
        return eduName;
    }
    public void setQuestionType(String questionType)
    {
        this.questionType = questionType;
    }

    public String getQuestionType()
    {
        return questionType;
    }
    public void setChapter(String chapter)
    {
        this.chapter = chapter;
    }

    public String getChapter()
    {
        return chapter;
    }
    public void setFestival(String festival)
    {
        this.festival = festival;
    }

    public String getFestival()
    {
        return festival;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setDel(String del)
    {
        this.del = del;
    }

    public String getDel()
    {
        return del;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelName", getLevelName())
            .append("eduName", getEduName())
            .append("questionType", getQuestionType())
            .append("chapter", getChapter())
            .append("festival", getFestival())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("del", getDel())
            .append("userId", getUserId())
            .toString();
    }
}
